package com.bwie.service.impl;

import com.bwie.common.domain.User;
import com.bwie.mapper.UserMapper;
import com.bwie.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className: UserServiceImpl
 * @Description: TODO
 * @version: v1.８.0
 * @author: 刘茂锴
 * @date: 2025/10/13 10:26
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    //根据手机号查询用户信息
    @Override
    public User selectPhoneByUser(String phone) {
        return userMapper.selectPhoneByUser(phone);
    }
}
